home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / tclX6.4c / ds5000.md / tksrc / Makefile.sprite < prev    next >
Encoding:
Makefile  |  1992-12-03  |  1.5 KB  |  44 lines

  1. #
  2. # Makefile --
  3. #
  4. # Makefile for to build Extended wish.
  5. #------------------------------------------------------------------------------
  6. # Copyright 1992 Karl Lehenbauer and Mark Diekhans.
  7. #
  8. # Permission to use, copy, modify, and distribute this software and its
  9. # documentation for any purpose and without fee is hereby granted, provided
  10. # that the above copyright notice appear in all copies.  Karl Lehenbauer and
  11. # Mark Diekhans make no representations about the suitability of this
  12. # software for any purpose.  It is provided "as is" without express or
  13. # implied warranty.
  14. #------------------------------------------------------------------------------
  15. # $Id: Makefile,v 1.1 92/12/03 15:35:56 jhh Exp Locker: jhh $
  16. #------------------------------------------------------------------------------
  17. #
  18.  
  19. #include "../Config.mk"
  20. #include "../config/$(TCL_CONFIG_FILE)"
  21. SHELL=/bin/sh
  22.  
  23. #------------------------------------------------------------------------------
  24.  
  25. CFLAGS= $(OPTIMIZE_FLAG) $(XCFLAGS) -I$(TCL_UCB_DIR) $(MEM_DEBUG_FLAGS)
  26.  
  27. #------------------------------------------------------------------------------
  28.  
  29. default all: ../$(TCL_TK_SHELL)
  30.  
  31. ../$(TCL_TK_SHELL): ../libtk.a ../libtcl.a
  32.     $(RANLIB_CMD) ../libtk.a
  33.     $(CC) $(CFLAGS) ../tkucbsrc/main.o ../libtk.a ../libtcl.a \
  34.             $(XLDFLAGS) $(TCL_TK_LIBS) -o ../$(TCL_TK_SHELL)
  35.     if $(DO_STRIPPING) ; then \
  36.         strip ../$(TCL_TK_SHELL); \
  37.         $(MCS_CMD) ../$(TCL_TK_SHELL); fi
  38.  
  39. #------------------------------------------------------------------------------
  40.  
  41. clean:
  42.     -rm -f ../$(TCL_TK_SHELL)
  43.